package com.draven.model.order;

import com.draven.model.product.ProductDTO;
/**
 * CREATE TABLE orders (
 *     id BIGINT AUTO_INCREMENT PRIMARY KEY,  -- 订单ID，主键并自动递增
 *     name VARCHAR(255) NOT NULL,            -- 客户姓名
 *     price DECIMAL(10, 2) NOT NULL,         -- 订单总价格
 *     num INT NOT NULL,                      -- 商品数量
 *     order_desc TEXT,                     -- 订单描述
 *     address VARCHAR(255),                  -- 收货地址
 *     phone VARCHAR(20),                     -- 联系电话
 *     email VARCHAR(255),                    -- 联系邮箱
 *     remark TEXT,                           -- 备注信息
 *     created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,  -- 记录创建时间
 *     updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP  -- 记录更新时间
 * );
 */
import java.math.BigDecimal;
import java.util.List;

public class OrderDTO {

    private String name;

    private BigDecimal price;

    private Integer num;

    private String desc;

    private String address;

    private String phone;

    private String email;

    private String remark;

    private String products;

    public String getName() {
        return name;
    }

    public String getProducts() {
        return products;
    }

    public void setProducts(String products) {
        this.products = products;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
